package PAP;

import PAPModified.LevenshteinDistance;
import com.aliasi.spell.JaroWinklerDistance;

public class Teste {

	public static void main(String[] args) {
		JaroWinklerDistance jw = new JaroWinklerDistance();
		LevenshteinDistance lv = new LevenshteinDistance();
		
//		System.out.println(jw.proximity("Body_Fluid_or_Substance", "body fluid/substance"));
//		
//		//Extremities limb
//		//Cochlear_Nuclei cochlear VIII nucleus
//		System.out.println(jw.proximity("body cavity", "Cavity"));
//		System.out.println(jw.proximity("body cavity", "Reproductive_System"));
//		
//		System.out.println("________________________________________________");
//		
//		System.out.println(LevenshteinDistance.similarity("body cavity", "Cavity"));
//		System.out.println(jw.proximity("body cavity", "Cavity"));
//		System.out.println(jw.proximity("body cavity", "Body_Part"));
//		System.out.println(LevenshteinDistance.similarity("body cavity", "Body_Part"));
//		System.out.println(LevenshteinDistance.similarity("body cavity", "Reproductive_System"));
//		
//		System.out.println("________________________________________________");
//		String str1 = new StringBuffer("body cavity").reverse().toString();
//		String str2 = new StringBuffer("Cavity").reverse().toString();
//		String str3 = new StringBuffer("Body_Part").reverse().toString();
//		
//		System.out.println(jw.proximity(str1, str2));
//		System.out.println(jw.proximity(str1, str3));
//		
//		System.out.println("________________________________________________");
		
		System.out.println(jw.proximity("advz staff", "Staff"));
		System.out.println(LevenshteinDistance.similarity("advz staff", "Staff"));
		

	}
}
